package com.chat.openfeign.client.fallback;

import com.chat.common.dto.AuthRequestDTO;
import com.chat.common.vo.R;
import com.chat.openfeign.client.AuthService;
import org.springframework.stereotype.Service;

/**
 * @author wei kunJie
 * @date 2024/4/7 23:32:05
 * 服务降级回调
 */
@Service
public class AuthServiceFallback implements AuthService {
    @Override
    public R validateToken(AuthRequestDTO authRequestDTO) {
        return R.failed("远程调用失败");
    }
}
